#pragma once

#include "controlcenter_global.h"
#include <osgManipulator/TabPlaneDragger>

namespace CoreBase
{
	class Transformable;
}

namespace ControlCenter
{
	class CONTROLCENTER_EXPORT PlaneDragger:public osg::Referenced
	{
	public:
		PlaneDragger();
		void addDraggerToScene(CoreBase::Transformable* transformable);
		void removeDraggerFromScene();
	protected:
		~PlaneDragger();
		osg::ref_ptr<osgManipulator::TabPlaneDragger>				_planeDragger;
		CoreBase::Transformable*									_transformAble;
		osg::Group*													_parentNode;
	};
}